From e4072e1c33b080e67d17cb7098604da09b9dbe7c Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Tue, 1 Nov 2005 10:31:25 +0100 Subject: [PATCH] Fix the DISPLAY configration that breaks vmx domain creation with SDL on vncserver or remote X. Changeset 7547 added a test of opts.vals.display when getenv("DISPLAY"); because there is a default value:localhost:0, that causes the test always to be true. Signed-off-by: Xiaofeng Ling --- tools/python/xen/xm/create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index 5bdb8ebf00..d844b2044c 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -376,7 +376,7 @@ gopts.var('sdl', val='', use="""Should the device model use SDL?""") gopts.var('display', val='DISPLAY', - fn=set_value, default='localhost:0', + fn=set_value, default=None, use="X11 display to use") -- 2.30.2